package com.frejoys.common.vo.common.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;


@Data
public class AuthRuleVo {

    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "String", name = "icon", description = "icon图标名称", required = true, defaultValue = "agperture")
    private String icon;

    @Schema(type = "String", name = "route", description = "路由", required = true, defaultValue = "/menu/farm")
    private String route;

    @Schema(type = "String", name = "name", description = "路由名称", required = true, defaultValue = "/menu/farm")
    private String name;

    @Schema(type = "Integer", name = "pid", description = "父id", required = true, defaultValue = "0")
    private Integer pid;

    @Schema(type = "String", name = "path", description = "层级关系,英文逗号拼接", required = false, defaultValue = "")
    private String path;

    @Schema(type = "Integer", name = "sort", description = "排序", required = false, defaultValue = "0")
    private Integer sort;

    @Schema(type = "Integer", name = "type", description = "类型：1总管理平台，2商家管理平台，3代理人管理平台", required = true, defaultValue = "1")
    private Integer type;

    @Schema(type = "Integer", name = "isRule", description = "是否有权限 true 有， fale 无", required = true, defaultValue = "1")
    private Boolean isRule;



}
